from rest_framework import routers, serializers, viewsets
from models import BindRecord

class BindSerializer(serializers.Serializer):
      dns_server = serializers.CharField(max_length=20)
      zone_name = serializers.CharField(max_length=20)
      record_name = serializers.CharField(max_length=20)
      record_data = serializers.IPAddressField()


